﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="first1.aspx.cs" Inherits="Page_example_first1" %>







<!DOCTYPE html>
<html>
	<head>
		
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta http-equiv="pragma" content="no-cache"> 
		<meta http-equiv="cache-control" content="no-cache"> 
		<meta http-equiv="expires" content="0"> 
		<meta name="format-detection" content="telephone=no" />
		<title>预约挂号</title>
		
		<link rel="stylesheet" href="http://wx.witontek.com:80/eHospital/page_mobile/assets/css/reset.css?v=201503181399985618">
		<link rel="stylesheet" href="http://wx.witontek.com:80/eHospital/page_mobile/assets/css/search_block.css?v=201503181399985618">
		<link rel="stylesheet" href="http://wx.witontek.com:80/eHospital/page_mobile/assets/css/department_list.css?v=201503181399985618">
		
		<style type="text/css">
			#container{padding: 10px 0 0 0;width: 100%;}
			.search_block{margin: 0 3%;}
			.cf .btn_u2{background-color: #EBEBEB;border: 1px solid transparent;color: #8FC454}
			.search_block .left .input_u2{border-radius: 5px;border: 1px solid #ddd;}
			.appointment_department_u2{background-color: white;margin-top: 1em;width: 100%;}
			.appointment_department_u2 p{height: 2em;padding-left:3%;font-size: 2.8rem;line-height: 2em;color: #989898;}
			.appointment_department_u2 ul{margin-bottom: 2%;box-shadow: 0 4px 10px 1px #e0e0e0;}
			.appointment_department_u2 li{padding:1.2% 0 0.5% 3%;width: 96%;border-top: 1px solid #E5E5E5;}
			.appointment_department_u2 li .img_u2{width:3.6rem; height: 3.6rem; border-radius: 100%; float: left;margin-top: 0.3rem;}
			.appointment_department_u2 li div{width:84%;padding:3% 2%;margin-left: 10%; font-size: 3rem;}
			.appointment_department_u2 li div span{display: inline-block;padding: 0 ;}
			.appointment_department_u2 li a{display: inline-block;width: 25%;float: right;margin-top: -1.5%;}
			.appointment_department_u2 li a img{width: 100%;} 

			.appointment_department_u2 .ZJL-a{width: 23%; font-size: 3rem; padding: 1% 1%; border: 1px solid #FCA823; border-radius: 3px; color: #FCA823; text-align: center;}
		</style>
	</head>
	<body>
		
		<section id="container">
			
			<section class="search_block">
				<form id="search_doctor_form" name="search_doctor_form" method="post" action="appointmentWx_expertSearch.action" onsubmit="return check_search_doctor();">
					<input type="hidden" name="subType" value="1">
					<div class="cf">
						<button type="submit" id="search_btn" name="search_btn" class="search_btn btn_u2">查询</button>
						<div class="left">
							<input type="text" id="search_key" name="nameSpecialty" class="search_key input_u2" placeholder="请输入疾病/医生姓名查询" data-msg="请输入查询关键字">
						</div>
					</div>
				</form>
			</section>

			<section class="appointment_department_u2">
				<p class="">你可根据近三次预约挂号记录一键快捷预约哦</p>
				<ul>
				 
					
				 
				
					
				</ul>
			</section>
			
			<section id="department_list" class="cf">
				
				<ul>
					
						
							<li data-department-id="02b6662bcc1342d9a40548d87d269392">
								
									<img src="http://121.199.33.251/open/news/1481802875075.jpg"/>
								
								<div>省级专家</div>
							</li>
						
					
						
							<li data-department-id="909228d19224429ca6f380bdc51d9f10">
								
									<img src="http://121.199.33.251/open/news/1481802885374.jpg"/>
								
								<div>儿科</div>
							</li>
						
					
						
							<li data-department-id="fdd1578121fa4f739228c2c5b9cfdca0">
								
									<img src="http://121.199.33.251/open/news/1481802904489.jpg"/>
								
								<div>大内科</div>
							</li>
						
					
						
							<li data-department-id="3d60f728cf2c4bb6b82db8003aed8000">
								
									<img src="http://121.199.33.251/open/news/1481803667234.jpg"/>
								
								<div>大外科</div>
							</li>
						
					
						
							<li data-department-id="46823c37d637461f8a305de5d51b4990">
								
									<img src="http://121.199.33.251/open/news/1481803677267.jpg"/>
								
								<div>妇产科</div>
							</li>
						
					
						
					
						
							<li data-department-id="33dd5fa5437d44d2b41dea8312e9ba1c">
								
									<img src="http://121.199.33.251/open/news/1481803690945.jpg"/>
								
								<div>治未病科</div>
							</li>
						
					
						
							<li data-department-id="5a6811ac03e6459a96d62a95b3907759">
								
									<img src="http://121.199.33.251/open/news/1481803698080.jpg"/>
								
								<div>疼痛科</div>
							</li>
						
					
						
							<li data-department-id="f7d6fc65833b4a898f3b6317463da0e8">
								
									<img src="http://121.199.33.251/open/news/1481803712907.jpg"/>
								
								<div>介入科</div>
							</li>
						
					
				</ul>
				
				<ol></ol>
			</section>
			
		</section>
		
		﻿

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="format-detection" content="telephone=no" />
        <style type="text/css">
			#footclass2{
				width: 100%;margin-left: auto;margin-right: auto;padding:10px 0 5px;bottom: 3px;
			}
			#footclass2>p{display: inline-block; width: 100%;color: #989898; text-align: center;  font-size: 14px; font-family: "microsoft yahei"}
        </style>
	</head>
	<body>
		
		
		
		
		<footer id="footclass2">
			<p>技术支持：睿博科技</p>
		</footer>
		

		<script type="text/javascript">
			
			
			
			function toFixFoot(){
				
			    var footEnd = document.getElementById("footclass2");
			    	footEnd.style.position = 'static';
//			    _window=window.screen.height;

			    var clientH = document.documentElement.clientHeight;
			    var bodyH = document.getElementsByTagName('body')[0].offsetHeight;
//			   alert('clientH'+clientH)
//			   alert('bodyH'+bodyH)
			   if(bodyH<=clientH){ //如果body高度小于视口高度,则页脚绝对定位
			    	footEnd.style.position = 'fixed';
			    	footEnd.style.bottom = '0px';
			    	
			    }else{
			    	footEnd.style.position = 'static';
			    	
			    	
			    }
			};
			
			window.onload = function(){
				toFixFoot();
			};
			
			window.onresize = function(){
//				toFixFoot();
				setTimeout(toFixFoot,100)
			};
			
			window.onclick=function(){
				toFixFoot();
			}
			
		</script>
	</body>
</html>
		
		<script src="http://wx.witontek.com:80/eHospital//page_mobile/assets/js/jquery-1.10.2.min.js?v=201503181399985618"></script>
		<script src="http://wx.witontek.com:80/eHospital//page_mobile/assets/js/json2.js?v=201503181399985618"></script>
		<script src="http://wx.witontek.com:80/eHospital//page_mobile/assets/js/YLT.mobile.public.js?v=201503181399985618"></script>
		<script src="http://wx.witontek.com:80/eHospital//page_mobile/assets/js/YLT.mobile.autoMsg.js?v=201503181399985618"></script>
		<script src="http://wx.witontek.com:80/eHospital//page_mobile/assets/js/search_block.js?v=201503181399985618"></script>
		<script src="http://wx.witontek.com:80/eHospital//page_mobile/assets/js/department_list.js?v=201503181399985618"></script>
		<script>
		var subtype=1;
		var a_href = 'appointmentWx_toDepartmentSchulePage.action?subType='+subtype+'&vo.departmentId=';
		if(subtype==1){
			$("title").text("预约");
		}else if(subtype==2){
			$("title").text("挂号");
		}
		var subDepartment = JSON.parse('[{"id":"02b6662bcc1342d9a40548d87d269392","depList":[{"departmentId":"5ab230ca30af41e2884f69904c347426","departmentName":"国医门诊"}]},{"id":"909228d19224429ca6f380bdc51d9f10","depList":[{"departmentId":"17b7b01d484b4794870fc2765bc7d56b","departmentName":"儿科门诊"}]},{"id":"fdd1578121fa4f739228c2c5b9cfdca0","depList":[{"departmentId":"581cff02273e42918509a78d1c9d0881","departmentName":"**甲状腺科门诊"},{"departmentId":"1a64db1734214ce0b320eb69c98655d3","departmentName":"肝病科门诊"},{"departmentId":"767db3444f774cb98e239c875ac4b853","departmentName":"呼吸内科门诊"},{"departmentId":"6901cbaae395428bb304b064be3ee5e4","departmentName":"男性科门诊"},{"departmentId":"c6e7df45d8c349b3826a00c15bbed80b","departmentName":"内分泌科门诊"},{"departmentId":"b51cf15a920f464da075b7d10ea61724","departmentName":"皮肤科门诊"},{"departmentId":"56168fd59c5a4b8684d50842b8b26d4a","departmentName":"神经内科门诊"},{"departmentId":"8b0b3f086a054f5290a25c2d3897c92f","departmentName":"肾内科门诊"},{"departmentId":"ffaed7dfad7f44049ad59523ead07064","departmentName":"消化内科门诊"},{"departmentId":"5065dd1856724c6e96d1cdd6fd6a4768","departmentName":"心内科门诊"},{"departmentId":"bb0c09e9d1894f45b5fd0a851f07d102","departmentName":"血液内科门诊"},{"departmentId":"b5e9d7f9a8ce4af79a895805af4d3ad7","departmentName":"中医内科门诊"},{"departmentId":"dcb9190af2754b73952321c7f72da3b6","departmentName":"肿瘤内科门诊"}]},{"id":"3d60f728cf2c4bb6b82db8003aed8000","depList":[{"departmentId":"7ec091d5023f4574be368d450837456d","departmentName":"耳鼻喉科门诊"},{"departmentId":"19a4a74d48c541b0ac9617cb4fc7051c","departmentName":"肛肠外科门诊"},{"departmentId":"d908993cd51148b49d4f4b952e7b970e","departmentName":"骨伤科门诊"},{"departmentId":"5746f29e027249bc86ef38c8c9a90376","departmentName":"口腔科门诊"},{"departmentId":"f9a665e17b4b40ff9ef84ae6cb26ec99","departmentName":"泌尿外科门诊"},{"departmentId":"85f12a86edf84b8698a46f88caeabb07","departmentName":"普外科门诊"},{"departmentId":"80cef54a85864f3ea04af1ce551c8d8e","departmentName":"神经外科门诊"},{"departmentId":"c5f5aa1908004e69a3dc61e7975a935c","departmentName":"心胸外科门诊"},{"departmentId":"6b52bf1bc2574ad3a5231e53870b6bef","departmentName":"眼科门诊"},{"departmentId":"8d96c240c5994acca63d9ff9a4b9f7d2","departmentName":"整形美容科门诊"}]},{"id":"46823c37d637461f8a305de5d51b4990","depList":[{"departmentId":"01cc517cd5074a03bf337b0fc5ce2000","departmentName":"产科门诊"},{"departmentId":"12a18cb37bce4843a16b02b1800abbab","departmentName":"妇科门诊"},{"departmentId":"66a77b7fdf694c1488cc9782b39f1f6f","departmentName":"中医妇科门诊"}]},{"id":"57d52778d5e1471cbf7b39730fb0605f","depList":""},{"id":"33dd5fa5437d44d2b41dea8312e9ba1c","depList":[{"departmentId":"fb4b62887e2a445eba1b7f65a51ee8f7","departmentName":"治未病门诊"}]},{"id":"5a6811ac03e6459a96d62a95b3907759","depList":[{"departmentId":"c98ca357b584441ca65ecd28e26d499a","departmentName":"疼痛科门诊"},{"departmentId":"6682dd38c22b47c7bd2424994ef53b45","departmentName":"推拿科门诊"},{"departmentId":"a6bd0f04c8084599a52b09c0b20b54d7","departmentName":"针灸科门诊"}]},{"id":"f7d6fc65833b4a898f3b6317463da0e8","depList":[{"departmentId":"ddaf916de3b34e10b9b38c761b91c78b","departmentName":"介入科门诊"}]}]');

		bind_department_list(a_href, subDepartment);
		$('#department_list ul li').first().trigger('click');
//		$(window).on('resize', set_department_list);
//		set_department_list();
		
		</script>
		
	</body>
</html>
